import request from '@/utils/request'

export function componentInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/component/component.query.list',
        method: 'post',
        data: paramDataInfo
    })
}

export function componentInfoQueryNoContent(paramDataInfo) {
    return request({
        url: '/ywu/component/component.query.list.with.no.content',
        method: 'post',
        data: paramDataInfo
    })
}

export function componentIconInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/component/component.icon.query.list',
        method: 'post',
        data: paramDataInfo
    })
}

export function componentInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/component/component.add.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function componentInfoUpdate(paramDataInfo) {
    return request({
        url: '/ywu/component/component.update.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function componentInfoDelete(paramDataInfo) {
    return request({
        url: '/ywu/component/component.delete.info',
        method: 'post',
        data: paramDataInfo
    })
}